package ch5.ext;

public class PetTest3 {

	public static void main(String[] args) {
		Pet p = new GoldFish("大红", 89, 91, "金龙鱼");
		p.shout();
		// p.swim();

		Object o = new GoldFish("大红", 89, 91, "金龙鱼");

	}

}
